package com.demo.springcloud.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author chenyuan
 * @date 2020/12/24 15:04
 */

@Mapper
public interface StorageMapper {
	//扣减库存信息
	int decrease(@Param("productId") Long productId, @Param("count") Integer count);
}
